<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://www.webapp.com.vn/tags" prefix="web" %>

<script type="text/javascript">


</script>

<body>
	<strong style="color: red; font-weight: bold"><s:property value="errorMessage"/></strong>
	<form action="listFriend" id="frmFriend" method="post">
		<s:hidden name="orderColumn" id="orderColumn"/>
		<s:hidden name="pagingInfo.indexPage" id="pagingInfo.indexPage" value="1"/>
		<s:hidden name="pagingInfo.offset" id="pagingInfo.offset" value="10"/>
		<table cellspacing="2" cellpadding="2" border="0" width="100%">
			<tbody>
				
				<tr>
					<td colspan="4" style="border-top: thin solid #666;">&nbsp;</td>
					<td><web:showPaging usingURLForNav="false" navAction="_goTo" pagingInfo="${pagingInfo}" formId="frmFriend" /></td>
				</tr>
				
				<s:iterator value="customerInfoList">
					<tr>
						<td align="left" width="60" valign="top">
							<a href="<s:url value="/account/viewProfile"/>${customerId}">
								<img alt="" width="60" height="60" src="<s:text name="address.resource.images"/>${displayImage}"/></a>
						</td>
						<td width="5">&nbsp;</td>
						<td align="left" valign="top">
							<a href="<s:url value="/account/viewProfile"/>${customerId}">
								<s:property value="displayName"/></a>
							<p><a href="#" onclick="javascript:revomeFriend('${customerId}');">Remove</a></p>
						</td>
						<td align="right" width="110" valign="top">
							<br> Bets created (${accountStatusInfo.betsCreatedCount})<br>
							 	 Bets joined (${accountStatusInfo.betsJoinedCount})<br>
								 Friends (${accountStatusInfo.friendCount})</td>
					</tr>
					<tr>
				      	<td height="10" style="border-top:thin solid #CCC;" colspan="4"></td>
					</tr>
				</s:iterator>
			</tbody>
		</table>
	</form>
</body>